#ifndef _CRT_EVENTS_WIN32_H_
#define _CRT_EVENTS_WIN32_H_

#include <crt_event.h>

#ifdef __cplusplus
extern "C" {
#endif

#if (TARGET_OS == OS_WIN)

int win32_sock_connectexed(evoper_t* oper);
int win32_sock_connect_ctx(evoper_t* oper);
int win32_sock_accpet_ctx(evoper_t* oper, evoper_t* oper_s);
int win32_sock_connect(evoper_t* oper, const evaddr_t* addr, ev_time_t tv);
int win32_sock_accept(evoper_t* oper, wsasock* sock);
int win32_sock_read_op(evoper_t* oper);
int win32_sock_write_op(evoper_t* oper);

#endif

#ifdef __cplusplus
}
#endif

#endif
